<h1>Listing bookshop_departments</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Bookshop</th>
  </tr>

<% @bookshop_departments.each do |bookshop_department| %>
  <tr>
    <td><%=h bookshop_department.name %></td>
    <td><%=h bookshop_department.bookshop %></td>
    <td><%= link_to 'Show', bookshop_department %></td>
    <td><%= link_to 'Edit', edit_bookshop_department_path(bookshop_department) %></td>
    <td><%= link_to 'Destroy', bookshop_department, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New bookshop_department', new_bookshop_department_path %>